﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin_TemplateSelect.aspx.cs"
    Inherits="V5_EShop.Admin.Admin_TemplateSelect" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>商城模板选择</title>
    <!--#include file="inc/libs.aspx"-->
</head>
<body>
    <table border="0" cellpadding="0" cellspacing="0" class="toptable" width="100%">
        <tr>
            <td class="topnavichar" style="padding-left: 14px">
                <div align="left">
                    位置导航：<a class="list_link" href="Admin_Index_Main.aspx" target="main">首页</a><img alt=""
                        border="0" src="/sysImages/folder/navidot.gif" />模板管理</div>
            </td>
        </tr>
    </table>
    <br />
    <table align="center" border="0" cellpadding="0" cellspacing="0" class="Navitable"
        width="100%">
        <tr>
            <td align="left">
                <a href="Admin_TemplateSelect.aspx">管理模板</a>
            </td>
        </tr>
    </table>
    <br />
    <form id="form1" runat="server">
    <table cellpadding="5" cellspacing="1" class="edittable">
        <tr>
            <td>
                <asp:DataList ID="dlList" runat="server" RepeatDirection="Horizontal" RepeatColumns="6"
                    OnItemDataBound="dlList_ItemDataBound">
                    <ItemTemplate>
                        <table cellpadding="0" cellspacing="0" style="width: 120px; height: 140px; margin: 5px;">
                            <tr>
                                <td>
                                    <img width="100" height="120" alt='<%# DataBinder.Eval(Container.DataItem,"Name") %>'
                                        src='../_Template/<%#DataBinder.Eval(Container.DataItem,"TemplateDir")%>/<%#DataBinder.Eval(Container.DataItem,"Image")%>' />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:RadioButton ID="rbtnSelect" runat="server" /><asp:Label ID="lblName" runat="server"
                                        Text='<%# DataBinder.Eval(Container.DataItem,"Name") %>' ToolTip='<%# DataBinder.Eval(Container.DataItem,"TemplateDir") %>'></asp:Label>
                                </td>
                            </tr>
                            <%--                <tr>
                <td>
                    皮肤:<asp:DropDownList ID="ddlCssSkin" runat="server">
                    </asp:DropDownList>
                </td>
                </tr>--%>
                        </table>
                    </ItemTemplate>
                </asp:DataList>
            </td>
        </tr>
    </table>
    <div style="width: 96%; text-align: center; margin: 0 2%; height: 40px; line-height: 40px;">
        <asp:Button ID="btnSetTemplateShow" runat="server" Text="设置为默认模板" OnClick="btnSetTemplateShow_Click" /></div>
    </form>
</body>
</html>
